import SelectedCourse from './SelectedCourse.vue'
import SelectedCourseAdd from './SelectedCourseAdd.vue'
import SelectedCourseEdit from './SelectedCourseEdit.vue'
import SelectedCourseSearch from './SelectedCourseSearch.vue'
import SelectedCourseView from './SelectedCourseView.vue'

const components = [
  SelectedCourse,
  SelectedCourseAdd,
  SelectedCourseEdit,
  SelectedCourseSearch,
  SelectedCourseView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
